import requests
response = requests.post("http://localhost:8000/predict", json={"text": "哦！我被选中了！"})
print(response.json())  # 输出：{"text": "哦！我被选中了！", "sentiment": "开心"}